package praktikumid.w09.p5.interface_example;

/**
 * Frog - a concrete type of Animal. Frog can
 * move on land and also in water. Here you can see
 * that a class can implement more than one interface,
 * but it can only extend up to one class.
 * @author Ago
 *
 */
public class Frog extends Animal implements IMovesInWater, IMovesOnLand {

	@Override
	public void eat() {
		// eat a fly
		
	}

	@Override
	public void walk() {
		// how frog walks
		
	}

	@Override
	public void swim() {
		// how frog swims
		
	}

}
